package edu.whut.service;

import com.sun.org.apache.xpath.internal.operations.Bool;
import edu.whut.entity.Recite;

import java.util.List;

public interface ReciteService {

    List<Recite> getRecitedPoem(Long userId);

    List<Recite> getUnRecitedPoem(Long userId);

    Boolean isRecite(Long userId, Long poemId);

    Boolean addRecite(Recite recite);

    Boolean deleteRecite(Long userId,Long poemId);

    Boolean updateRecite(Recite recite);

    Boolean isRecited(Long userId, Long poemId);


}
